Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use default self type more often #21373

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Aug 12, 2024

We now also use cap as the default for the self type's capture set if a base class has an explicit self type, but that type's capture set is universal. This requires fewer self type annotations.

We now also use cap as the default for the self type's capture set if a base class
has an explicit self type, but that type's capture set is universal. This requires
fewer self type annotations.
@odersky odersky force-pushed the cc-improve-selftype branch from 429703a to 97bbc24 Compare August 12, 2024 15:08
Copy link
Contributor

@bracevac bracevac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! This change is quite convenient for programmers.

@bracevac bracevac merged commit bcf5d6a into scala:main Aug 15, 2024
28 checks passed
@bracevac bracevac deleted the cc-improve-selftype branch August 15, 2024 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants